home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Cream of the Crop 26
/
Cream of the Crop 26.iso
/
os2
/
qked240a.zip
/
MAXIMUS.ZIP
/
MAXIMUS.DOC
< prev
Wrap
Text File
|
1997-07-14
|
8KB
|
231 lines
Setting up QuikEdit v2.40 with Maximus v3
Based off of notes made by Chris Gerlinsky
Configuring QuikEdit (EDITCFG.EXE)
Toggles
|
+- Toggle Menu 1
| |
| Use Overrides NO
| Filter ANSi NO
| Use Soft C/Rs YES
|
+- Toggle Menu 2
|
Quote Format YES
QBBS Compatible YES
Message Header NO
Kludge Filter YES
Other
|
+- Dropfile Type
|
Dorinfo1.Def
Directory Setup:
Made Sure your QuikEDIT environmental value is set to reflect QuikEdit's
path. For example, if QuikEdit is located in C:\MAXIMUS\QUIKEDIT, your
SET command would look like:
SET QUIKEDIT=C:\MAXIMUS\QUIKEDIT
Make sure you place the statement in your config.sys, or in the batch file
that calls your BBS.
The path where my drop files, etc, are to be found, is C:\Bbs\Max\%k\,
so for node 1 it is: C:\Bbs\Max\1\ and for node 2 it is C:\Bbs\Max\2\.
That is also the path where QuikEdit will find DORINFO1.DEF, and where it
wants to find MSGTMP, MSGINF, and where it wants to write MSGTMP.
My BBS is also configured so that Uses Leaving in MAX.CTL points to
Misc\Leaving.Bbs, which will in turn call up the correct MECCAs
to create a DORINFO1.DEF, DOOR.SYS, CHAIN.TXT, and CALLINFO.TXT, all
automatically whenver an external program is run.
If you do not have many/any doors, etc, setup, you may want to adopt a
system such as this. A sample DORINFO.MEC is:
---------------------------------------------------------------
[delete]%k\dorinfo1.Def
[open]%k\dorinfo1.Def
[write]%N[ comment Write the BBS name ]
[write]%S[ comment Write the SysOp's first name ]
[write]%s[ comment Write the SysOp's last name ]
[islocal write]COM0 [ comment Write the COM port ]
[isremote iftask]1 [write]COM2[comment local is always COM0 ]
[write]%b BAUD,N,8,1 [comment Write the baud rate ]
[write] 0[ comment Say that we're not networked ]
[write]%A[ comment Write the user's first name ]
[write]%B[ comment Write the user's last name ]
[write]%c[ comment Write the user's city ]
[write]%g[ comment Write the user's graphics ]
[write]%o[ comment Write the user's security level]
[write]%t[ comment Write the user's time remaining]
[write]-1[ comment Say that we're using a FOSSIL ]
[quit comment And we're done! ]
---------------------------------------------------------------
(I've modified DOORSYS.MEC, CALLINFO.MEC, and WWIV.MEC all in the
same way as the above)
However, there is a small problem with this. Maximus doesn't seem to want
to call LEAVING.MEC when it runs the external editor! (Although making
LEAVING.MEC call the DORINFO1, DOORSYS, etc, door files is still a
nifty idea <g>)
So, that means that we have to find another way to always have a
DORINFO1.DEF ready for QuikEdit.
Actually, it's not even really a problem. As long as a single DORINFO1.DEF
has been created since the user logged on, all should be well - we're also
passing the user's time left to QuikEdit via a command-line parameter.
(IOW, just call DORINFO1.MEC from your WELCOME.MEC, and you'll be OK)
That takes care of creating the DORINFO1.DEF as (assuming node 1)
\bbs\max\1\dorinfo1.def. Now, all we need to do is to create the
\bbs\max\1\msgtmp.
Maximus doesn't seem to have a way to handle this internally, so
we'll do it in our batch file.
QUIK.BAT
Our C:\BBS\QUIKEDIT\QUIK.BAT should be setup as follows:
@echo off
cd\bbs\max\%2
copy /y c:\bbs\max\%1 msgtmp>nul
cd\bbs\Quikedit
Quikedit /D:\bbs\max\%2\ /N:%2 /T:%3
cd\bbs\max\%2
copy /y msgtmp c:\bbs\max\%1>nul
Note: If you're not using DOS 6.0 (??) or higher, you will likely
have to edit the two copy lines. (the /y causes DOS 6.0+ to
overwrite any existing files w/o prompting)
An explanation of the above:
cd\bbs\max\%2 <- That changes to the \bbs\max\1
directory, assuming the node
number is 1.
copy /y c:\bbs\max\%1 msgtmp>nul <- That copies the TEMP\MSGTMP01.$$$
to MSGTMP, assuming node 1. ( The >nul
suppresses output)
cd %quikedit% <- Changes to your QuikEdit directory
Quikedit /D:\bbs\max\%2\ /N:%2 <- Starts QuikEdit, tells it that the
drop file (DORINFO1.DEF) and MSGTMP
are found in \bbs\max\1 (assuming node
1), and tells QuikEdit what node we're
on.
cd\bbs\max\%2 <- that changes to the \bbs\max\1
directory, assuming the node number
is 1.
copy /y msgtmp c:\bbs\max\%1>nul <- That copies the new, edited, MSTMP
to MSGTMP01.$$$ (assuming node 1),
which is what Maximus will be looking
for. ( >nul again suppresses output from
copy)
Configuring Maximus
Now we reach the final step, setting up Maximus to use the external editor!
This is very simple, all you must do is edit MAX.CTL, and find the line Local
Editor. (there will likely be two examples, both commented out) Add a line
(uncommented, ofc), that looks like the following:
Local Editor @Command.Com /C C:\Bbs\QuikEdit\Quik.Bat %s %%k %%t
The @ tells Maximus to allow remote users to use this. The Command.Com /C
will tell Maximus to call COMMAND.COM, which we must do to be able to run a
batch file. (otherwise we'd have to write a little EXE/COM file to do this
for us). The C:\Bbs\QuikEdit\Quik.Bat is the location of our Quik.Bat file,
the %s will be translated to the file Maximus wants the message in, and
the %%k will be translated to the current node number. %%t is translated,
of course, into the user's time remaining.
NOTE: That it MUST be %%k, and *NOT* %k, and %%t, and *NOT* %t,
and it should be %s, *NOT* %%s
After you re-silt, I suggest you fire up a copy of Maximus locally
and see if QuikEdit runs as it should!
Editing ACCESS.CTL!
Maximus, by default, does not allow any users aside from those with Sysop and
those with AsstSysop privelege levels to use the external editor either
remotely, or locally!
If, however, you have users who don't have a privelege level of Sysop or
AsstSysop (likely), and you want them to be able to use QuikEdit, make the
following changes to ACCESS.CTL..
Access Normal
Level 30
Desc Normal
Key N
Time 60
Cume 60
Calls -1
LogonBaud 300
XferBaud 300
FileLimit 5000
FileRatio 0
RatioFree 1000
UploadReward 100
% LoginFile Misc\PrivN
% Flags
MailFlags LocalEditor Editor
% UserFlags
Oldpriv 2
End Access
That is my definition for the Normal access level (which all users on my BBS
aside from me have). Note the line specifying MailFlags.
LocalEditor tells Maximus to allow this privelege class to use the external
editor if they're logged on locally.
Editor tells Maximus to allow this privelege class to use the external editor
if they're calling remotely. (and your external editor has a @ before the
pathname, such as we have given QuikEdit)
You'll want to make these changes for all privelege levels you
wish to have access to QuikEdit.
Once this is done, you should be all set with QuikEdit & Maximus.
After following the above carefully, your Maximus v3 system should
now have nearly complete QuikEdit capabilities!
The only incomplete part, will be MSGINF. Since the MSGINF file
really is only significant for Classic (AKA Hudson) & Goldbase
platforms (QuickBBS, RemoteAccess, Proboard, etc) Maximus sysops
should be fine without it.